package timeline;

import java.util.Date;

public class WgetRunnable implements Runnable {
	private String info;
	private String url;
	private long subdir_count;
	private int repeat_count;
	private boolean createIndexFile;
	private Date createTime;
	public WgetRunnable(boolean inputcreateIndexFile,Date inputcreateTime,String input_info, String input_url,long input_subdir_count, int input_repeat_count){
		info = input_info;
		url = input_url;		
		subdir_count = input_subdir_count;
		repeat_count = input_repeat_count;		
		createIndexFile = inputcreateIndexFile;
		createTime = inputcreateTime;
	}
	public void run() {
		Util util = Util.getInstance(createIndexFile);
		util.wget(createTime,info, url,subdir_count,repeat_count);

	}
	

}
